package com.banyuan.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration  // 代替.xml
@ComponentScan("com.banyuan") //开启扫描
@EnableAspectJAutoProxy//使用AOP注解
public class SpringAocConfig {

}
